<!DOCTYPE html>
<html>
<head>
	<title>Add a New HM Task</title>
	<link rel="stylesheet" href="style.css" type="text/css">
	<script type="text/javascript" src="jquery-1.6.1.min.js"></script>
	<script type="text/javascript" src="newTask.js"></script>
</head>
<body>
	<div id="hm-utility">a <a href="http://hiveminder.com" target=_blank>Hiveminder</a> utility</div>
	<div id="header"><img src="images/cm-header.png" alt="chromeminder"></div>
	<div id="wrapper">
		<div id="authYes" style="display: none;">
			<p><label for="summary" class="newTaskLabel">Task</label><input type="text" name="summary" id="summary" /></p>
			<p><label for="description" class="newTaskLabel">Notes</label><textarea name="description" id="description" rows="15" cols="60"></textarea></p>
			<p><label for="priority" class="newTaskLabel">Priority</label><select name="priority" id="priority">
				<option value="5">Highest</option>
				<option value="4">High</option>
				<option value="3" selected="selected">Normal</option>
				<option value="2">Low</option>
				<option value="1">Lowest</option>
				</select></p>
			<p><label for="due" class="newTaskLabel">Due Date</label><input type="text" name="due" id="due" /></p>
			<p><label for="tags" class="newTaskLabel">Tags</label><input type="text" name="tags" id="tags" /></p>
			<div id="hmbd-action"><button id="hmbd-submit" class="btn">Submit</button> <span id="hmbd-status"></span></div>
		</div> <!-- authYes -->
		<div id="authNo" style="display: none;">
			<p>You are not logged into Hiveminder. Please do so first.</p>
			<p><label for="address" class="authLabel">Email address</label><input type="email" name="address" id="address" /></p>
			<p><label for="password" class="authLabel">Password</label><input type="password" name="password" id="password" /></p>
			<p><label for="remember" class="authLabel">Remember me?</label><input type="checkbox" name="remember" id="remember" value="1" /></p>
			<p><button id="login_submit">Sign In</button></p>
			<div id="loginStatus"></div>
		</div> <!-- authNo -->
	</div> <!-- wrapper -->
</body>
</html>